package com.dragon.modules.yuegou.service.act;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.act.GiftBagMemberRefEntity;
import com.dragon.modules.yuegou.model.act.GiftBagMemberRef;
import com.dragon.modules.yuegou.model.system.Document;
import com.dragon.modules.yuegou.query.act.GiftBagMemberRefQuery;

import java.util.List;
/**
 * 礼包发放记录表 服务接口
 *
 * @author pbuilder generated
 * @date 2020-08-05 18:40:34
 * @version 2.0
 */
public interface GiftBagMemberRefService extends IService<GiftBagMemberRefEntity> {

    /**
     * 发放礼包
     * @param giftBagId
     * @param createdBy
     * @param mobileList
     */
    List<GiftBagMemberRef> issueGiftBag(String giftBagId,String createdBy, List<String> mobileList);

    /**
     * 撤回
     * @param issueDetailId
     * @return
     */
    GiftBagMemberRef withdrawGiftBag(String issueDetailId);

    /**
     * 发放记录导出
     * @param query
     * @return
     */
    Document exportIssueDetail(GiftBagMemberRefQuery query);
}